home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 23.zip / BS1 part 23 / Prof page II type.adf / Install / UpdateUtilities < prev    next >
AmigaDOS Script File  |  1990-08-10  |  2KB  |  60 lines

  1. .KEY foo
  2. .BRA {
  3. .KET }
  4. ;
  5. ; Update the various utility stuff on a CGFonts disk.
  6.  
  7. echo "*N Updating utility files"
  8.  
  9. execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:cg.chardata GD_Dest:cg.chardata "     cg.chardata" "updated"
  10.  
  11. execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:psfont.alias GD_Dest:psfont.alias "     psfont.alias" "updated"
  12.  
  13. if "$GDIInstallType" eq "floppy"
  14.  
  15.     execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:Install/Use_This_Disk GD_Dest:Use_This_Disk "     Use_This_Disk" "updated"
  16.  
  17.     execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:Install/Use_This_Disk.info GD_Dest:Use_This_Disk.info "     Use_This_Disk.info" "updated"
  18.  
  19. endif
  20.  
  21. if exists GD_Dest:CGT
  22.     execute UpdateFile  GD_SourceDisk:CGT "" GDICGTVer  GD_Dest:CGT CGT "" "     CGT" ""
  23.  
  24.     if not $GDIRC eq "ok"
  25.         skip UUWrapup
  26.     endif
  27. endif
  28.  
  29. if exists GD_Dest:CGTII
  30.     execute UpdateFile  GD_SourceDisk:CGTII "" GDICGTIIVer  GD_Dest:CGTII CGTII "" "     CGTII" ""
  31.  
  32.     if not $GDIRC eq "ok"
  33.         skip UUWrapup
  34.     endif
  35. endif
  36.  
  37. if exists GD_Dest:CreateFont
  38.     execute UpdateFile  GD_SourceDisk:CreateFont "" GDICFVer  GD_Dest:CreateFont CreateFont "" "     CreateFont" ""
  39.  
  40.     if not $GDIRC eq "ok"
  41.         skip UUWrapup
  42.     endif
  43. endif
  44.  
  45. if exists GD_Dest:Download
  46.     execute UpdateFile  GD_SourceDisk:Download "" GDIDLVer  GD_Dest:Download Download "" "     Download" ""
  47.  
  48.     if not $GDIRC eq "ok"
  49.         skip UUWrapup
  50.     endif
  51. endif
  52.  
  53. skip UUWrapup
  54.  
  55. lab UUError
  56.     echo >ENV:GDIRC "error"
  57.     echo >GD_TempDir:Message "*E[;33m Installation did not complete properly.*E[m"
  58.  
  59. lab UUWrapup
  60.